<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class CommontController extends Controller
{
    //
    public function response($data,$code=200){

        return ["code"=>$code,"data"=>$data];
    }
}
